package com.wzh.store.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author wzh
 * @create 2022/4/5 16:05
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseEntity implements Serializable {
//    通过表的结构提取出公共字段，放在一个实体类的基类中，起名为BaseEntity
      private String createdUser;
      private Date createdTime;
      private String modifiedUser;
      private Date modifiedTime;
}
